<template>
  <h1>联动</h1>
  <HelloWorld/>
  <HelloWorld2/>
  <br>
  <h1>组件内计算</h1>
  <HelloWorld3/>
  <h1>使用getter方法</h1>
  <HelloWorld4/>
  <h1>使用mapGetters方法</h1>
  <HelloWorld5/>
  <h1>带参数的mutation</h1>
  <HelloWorld6/>
  <h1>用action更新数据</h1>
  <HelloWorld7/>
  <h1>多模块</h1>
  <HelloWorld8/>
  <HelloWorld9/>
  
</template>

<script>
import HelloWorld from './components/HelloWorld.vue'
import HelloWorld2 from './components/HelloWorld2.vue'
import HelloWorld3 from './components/HelloWorld3.vue'
import HelloWorld4 from './components/HelloWorld4.vue'
import HelloWorld5 from './components/HelloWorld5.vue'
import HelloWorld6 from './components/HelloWorld6.vue'
import HelloWorld7 from './components/HelloWorld7.vue'
import HelloWorld8 from './components/HelloWorld8.vue'
import HelloWorld9 from './components/HelloWorld9.vue'


export default {
  name: 'App',
  components: {
    HelloWorld,
    HelloWorld2,
    HelloWorld3,
    HelloWorld4,
    HelloWorld5,
    HelloWorld6,
    HelloWorld7,
    HelloWorld8,
    HelloWorld9
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
